package cn.zebra.dev.other.module.shopapply.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("shop_apply")
@Getter
@Setter
public class ShopApplyEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("申请理由")
    private String reason;

    @ApiModelProperty("申请状态（0：审核中，1：审核通过，2：审核失败）")
    private Long state;

    @ApiModelProperty("保证金")
    private BigDecimal margin;

    @ApiModelProperty("管理员id")
    private Long adminId;

    @ApiModelProperty("管理员反馈信息")
    private String adminReason;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
